-
Home
-
OptiPic images optimization
-
1.15.0
-
Code
-
Classes
- ImgUrlConverter
Total Complexity |
85 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
545 |
Lines of code |
313 |
Logical lines of code |
202 |
Comment lines |
123 |
Methods |
17 |
Properties |
9 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
convertHtml() |
B |
39 |
15 |
61 |
callbackForPregReplace() |
A |
43 |
13 |
49 |
loadConfig() |
A |
51 |
8 |
27 |
callbackForPregReplaceSrcset() |
S |
51 |
5 |
23 |
isEnabled() |
S |
58 |
5 |
15 |
getDefaultSettings() |
S |
56 |
4 |
19 |
log() |
S |
56 |
4 |
16 |
getUrlFromRelative() |
S |
59 |
4 |
14 |
getCurrentDomain() |
S |
60 |
4 |
13 |
getBaseUrlFromHtml() |
S |
59 |
4 |
13 |
textToArray() |
S |
60 |
3 |
14 |
getResponseHeadersList() |
S |
60 |
3 |
13 |
getBaseDirOfUrl() |
S |
62 |
3 |
12 |
__construct() |
S |
73 |
3 |
5 |
isGz() |
S |
72 |
3 |
4 |
trimList() |
S |
63 |
3 |
10 |
removeBomFromUtf() |
S |
71 |
1 |
5 |